package com.zlm.weather.service;

import com.zlm.weather.pojo.WeatherResponse;

/**
 * @Author: 郑
 * @Date: Create in 2020-1-16.
 */
public interface WeatherService {
    /**
     * 根据城市id查询天气
     * @param cityId
     * @return
     */
    String getDataByCityId(String cityId);

    /**
     * 根据城市名称查询天气
     * @param cityName
     * @return
     */
    WeatherResponse getDataByCityName(String cityName);
}
